<div class="zs-ibox">
<div class="zs-btnbox">
    <div class="zs-location"> 
	            <a href="#" class="home" ng-click="BackTOTask();"><span>运营管理</span></a> <i class="arrow"></i> 
	            <a href="#"><span>异常处置</span></a> 
   </div>
  <input type="button" value="返回" class="zs-btn" style="float: right;" ng-click="BackTOTask();">
  </div>
  <table  class="zs-form-tab">
         <tbody>
         <tr>
	           <td style="width: 3%">任务单号</td>
	           <td style="width: 45%"> 
	            	<input type="text" class="zs-input" ng-model="queryObject.taskCode" style="width: 240px"/>
	           </td>
         	</tr>
           <tr>
            <td>处置状态：</td>
               <td>                
					<div  style="float:left;margin:0px 0px 0px 20px;padding:3px 0px;">
					<label><input type="checkbox" ng-model="inProcessing" class="zs-btn" style="padding-right:2px;">处理中</label>
                  	<label><input type="checkbox" ng-model="notProcess" class="zs-btn" style="padding-right:2px;">未处理</label>
                  	<label><input type="checkbox" ng-model="hasProcessed" class="zs-btn" style="padding-right:2px;">已处理</label>
					</div>
               </td>
             <tr>
              <td>时间</td>
              <td>
              	<label>起始日期</label>
              	&nbsp;
              	<ag-Datebox class="zs-input"  ng-model="queryObject.start" ></ag-Datebox>
				&nbsp;
			   	<label>结束日期</label>
			   	&nbsp;
			   	<ag-Datebox class="zs-input"  ng-model="queryObject.end" ></ag-Datebox>
				<input type="button" value="查询" class="zs-btn" ng-click="getExceptionList()"> 
              </td>
             </tr>
         </tbody>
        </table>
   <table class="zs-data-tab" width="100%">
        <thead>
            <tr>
                <th class="head">站点名称</th> 
                <th class="head">报警类型</th>
                <th class="head">处置状态</th>
                <th class="head">异常原因</th>
                <th class="head">处理情况</th>
                <th class="head">处理结果</th>
                <th class="head">开始时间</th>
                <th class="head">结束时间</th>
                <th class="head">备注</th>
                <th class="head">添加报告</th>
            </tr>
        </thead>
        <tbody>
           <tr ng-repeat="curRow in httpData.ExceptionList.data" class="{{ isDoubleNum($index) ? 'even':'' }}">
		    <td class="center">
		        <label ng-bind="curRow.STATION_NAME"></label>
		    </td>
		   <td class="center">
		       <label ng-bind="curRow.TYPE_NAME"></label>
		    </td>
		   <td class="center">
		        <label ng-bind="curRow.STATUS_NAME"></label>
		    </td>
		    <td class="center">
		        <label ng-bind="curRow.REASON_NAME"></label>
		    </td>
		    <td class="center">
		        <label ng-bind="curRow.JOB_NAME"></label>&nbsp;&nbsp;&nbsp;
		        <a style="cursor:pointer;text-decoration:underline;" ng-click="viewTaskRecord(curRow)">查看记录</a>
		    </td> 
		    <td class="center">
		        <label ng-bind="curRow.PROCESS_RESULT"></label>
		    </td>
		    <td class="center">
		        <a><label ng-bind="curRow.START_TIME"></label></a>
		    </td>
		    <td class="center">
		        <a><label ng-bind="curRow.END_TIME"></label></a>
		    </td>
		    <td class="center">
		        <a><label ng-bind="curRow.REMARK"></label></a>
		    </td>
		    <td class="center">
		        <a ng-if="canUpload(curRow)" style="cursor:pointer;text-decoration:underline;" ng-click="uploadDoc(curRow)">上传</a>&nbsp;&nbsp;
		        <a ng-if="canDownload(curRow)" style="cursor:pointer;text-decoration:underline;" ng-click="downloadDoc(curRow)">下载</a>
		    </td>
            </tr>  
        </tbody>
    </table>
    <div class="zs-page"> 
               <a ng-click="waterDataCommon.firstPage(httpData.ExceptionList,queryObject)">首页</a>
		        <a class="pre" ng-click="waterDataCommon.prePage(httpData.ExceptionList,queryObject)">上一页</a>
		        <a class="next" ng-click="waterDataCommon.nextPage(httpData.ExceptionList,queryObject)">下一页</a>
		        <a ng-click="waterDataCommon.lastPage(httpData.ExceptionList,queryObject)">尾页</a>
                <a >
                    <label ng-bind="httpData.ExceptionList.pageInfo.pageIndex"></label>
                </a> / 
                <a >
                    <label ng-bind="httpData.ExceptionList.pageInfo.pageCount"></label>
                </a>
     </div>
   </div>

</div>